package org.carabiner.infinitest;

import org.carabiner.infinitest.depgraph.TestVerifier;

public class PatternVerifier implements TestVerifier
{
  private String regex;
  
  public PatternVerifier(String testRegex)
  {
    regex = testRegex;
  }

  public boolean isATest(Class clazz)
  {
    return clazz.getName().matches(regex);
  }   
}
